package com.beiben;

/**
 * @Description:
 * @Author: DuLei
 * @Date: Created in 2020-08-21 11:21
 * @Version 1.0
 * @Modified By:
 */
public class Test {
    public static void main(String[] args){
        String xx = "2";
        String[] sss = xx.split("\\.");
        System.out.println(sss[sss.length-1]);
    }
}
